from fastapi import FastAPI
from api.endpoints import router as api_router
from core.config import settings

app = FastAPI(title=settings.app_name)
app.include_router(api_router, prefix="/api")

if __name__ == "__main__":
    import uvicorn

    uvicorn.run(app, host="0.0.0.0", port=8000)
